﻿using D.B.Data.Domain.DTO.Output;
using D.B.Data.ErrorCode;
using MediatR;

namespace D.B.Data.API.Applications.Command.LeaveCommand
{
    public class QueryLeaveCommand:IRequest<APIPaging<QueryLeaveDTO>>
    {
        /// <summary>
        /// 登录人Id
        /// </summary>
        public long UserId { get; set; }

        public int PageIndex { get; set; }
        public int PageSize { get; set; }


        public string? UserName { get; set; }
        public bool? state  { get; set; }
        public string? BeginTime  { get; set; }
        public string? EndTime  { get; set; }
    }
}
